Array of the item objects.

<div class="definition">
    Array, default = []
</div>

The <span class="method">.items</span> property defines all toolbar items (buttons, drop down menus, etc.) You
can define them during object creation or at run-time.

<textarea class="javascript">
let toolbar = new w2toolbar({
    name  : 'toolbar',
    right : 'text on the right',
    items : [
        { type: 'check',  id: 'item1', text: 'Check', icon: 'icon-page', checked: true },
        { type: 'radio',  id: 'item3',  group: '1', text: 'Radio 1', icon: 'icon-add' },
        { type: 'radio',  id: 'item4',  group: '1', text: 'Radio 2', icon: 'icon-add' }
    ]
});
</textarea>

The structure of the item is defined in <a class="method" href="w2toolbar.item_template">.item_template()</a>

<div style="height: 10px"></div>
If you change this property during run-time, do not forget to call the <a class="method" href="w2toolbar.refresh">.refresh()</a>
method.

<div style="height: 10px"></div>
To add/remove items during run-time, you should better call
<a class="method" href="w2toolbar.add">.add()</a>,
<a class="method" href="w2toolbar.insert">.insert()</a>,
<a class="method" href="w2toolbar.remove">.remove()</a> methods.
